package com.pandorasoft.shop

/**
 * 
 * @author qintao
 * 消费者
 */
class Consumer {

	/*
	 * Default (injected) attributes of GORM
	 */
	//	Long	id
	String name
	Date date //日期
	String time //时间
	String tel
	String phone
	String accept //Yes,No
	Date	dateCreated
	Date	lastUpdated

	static belongsTo	= [shop:Shop]	// tells GORM to delete this object if the "parent" is deleted.
	//	static hasOne		= []
	//	static hasMany		= []
	//	static mappedBy		= []

	static mapping = {
	}

	static constraints = {
	}

	/*
	 * Methods of the Domain Class
	 */
}
